﻿using B.S.DataBase.MyProject.ErrorCode;
using MediatR;

namespace B.S.DataBase.MyWrite.API.Appicant.Command.Departs
{
    /// <summary>
    /// 部门添加命令
    /// </summary>
    public class DepartAddCommand:IRequest<APIResult<object>>
    {



        /// <summary>
        /// 部门名称
        /// </summary>
        public string DepartName { get; set; }


        /// <summary>
        /// 部门的上级ID 
        /// </summary>
        public int DepartPId { get; set; }




    }


}
